#ifndef GRAPH_H
#define GRAPH_H

#include <QObject>
#include <QList>
#include <QMap>

#include "nodeitem.h"
#include "edgeitem.h"

class Graph : public QObject
{
    Q_OBJECT
public:
    explicit Graph(QObject *parent = 0);

    QList<NodeItem *> nodes;
    QMap< quint32 , NodeItem *> nodeMap;
    quint32 numEdges;
    
    NodeItem *createNode();
    EdgeItem *createEdge();


signals:
    
public slots:
    
};

#endif // GRAPH_H
